package com.sports.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sports.entity.Register;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sports.entity.RegisterDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LZL
* @description 针对表【t_register】的数据库操作Mapper
* @createDate 2024-03-21 20:55:04
* @Entity com.sports.entity.Register
*/
public interface RegisterMapper extends BaseMapper<Register> {

    IPage<RegisterDTO> selectRegister(Page<RegisterDTO> page,@Param("name") String name);

    IPage<RegisterDTO> selectRegisterByAthletesId(Page<RegisterDTO> page, @Param("athletesId") Integer athletesId, @Param("role") Integer role,@Param("name") String name);
}




